<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Depot_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-depot_id" data-rule="required" data-source="depot/index" class="form-control selectpage" name="row[depot_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-code" class="form-control" data-rule="required" rows="20" name="row[code]"  placeholder="每行一组兑换码" cols="50"></textarea>
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_start')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_start" class="form-control selectpicker" name="row[is_start]">
                {foreach name="isStartList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Overduetime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-overduetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm" data-use-current="true" placeholder="不设置则永久有效" name="row[overduetime]" type="text" value="">
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_use')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_use" class="form-control selectpicker" name="row[is_use]">
                {foreach name="isUseList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id"  data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
